//
//  YCPopupView.h
//  YCAlertController
//
//  Created by Yochia on 2017/3/9.
//  Copyright © 2017年 Team Brutal. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol YCPopupViewAnimation <NSObject>

@optional
- (void)popupViewAppearAnimationOrigin;
- (void)popupViewAppearAnimationDestination;

- (void)popupViewDisappearAnimationOrigin;
- (void)popupViewDisappearAnimationDestination;

@end

@interface YCPopupView : UIView <YCPopupViewAnimation>

@property (nonatomic, weak) UIViewController * controller;

@end
